<?php echo $this->fetch('header.html'); ?>
<ul class="nav nav-tabs">
<li><a href="<?php echo $this->_var['appadmin']; ?>?m=module"><?php echo $this->_var['lang']['module_admin']; ?></a></li>
<li class="active"><a href="<?php echo $this->_var['appadmin']; ?>?m=module&a=add"><?php echo $this->_var['lang']['module_create']; ?></a></li>
</ul>

<div class="rbox">
<form method="post" action="<?php echo $this->_var['appadmin']; ?>?m=module&a=create">
<table class="table table-bordered" width="100%">
	<tr>
    	<td width="12%"><?php echo $this->_var['lang']['module_name']; ?></td>
        <td width="88%"><input type="text" name="mod_name" id="mod_name"></td>
    </tr>
	<tr>
	  <td><?php echo $this->_var['lang']['module_dir']; ?></td>
	  <td><input type="text" name="mod_dir" id="mod_dir"></td>
    </tr>
	<tr>
	  <td><?php echo $this->_var['lang']['module_table']; ?></td>
	  <td><input type="text" name="mod_table" id="mod_table"> （建议：表统一前缀 mod_）</td>
    </tr>
	<tr>
	  <td><?php echo $this->_var['lang']['module_info']; ?></td>
	  <td><textarea name="mod_info" id="mod_info" cols="45" rows="5"></textarea></td>
    </tr>
 
	<tr>
	  <td>&nbsp;</td>
	  <td><input type="submit" name="button"  class="btn" value="创建模块"></td>
    </tr>
</table>
</form>
</div>
<?php echo $this->fetch('footer.html'); ?>